package body

//车牌颜色
type PlateColor uint8

const (
	PlateColor_No PlateColor = iota
	PlateColor_Blue
	PlateColor_Yellow
	PlateColor_Black
	PlateColor_White
	PlateColor_Green
	PlateColor_YellowGreen
	PlateColor_FarmingYellow
	PlateColor_Other
)

//终端注册结果
type RegisterResult uint8

const (
	//成功
	RegResult_Success RegisterResult = iota
	//车辆已被注册
	RegResult_VehRegisted
	//数据库中无该车辆
	RegResult_VehNotInDB
	//终端已被注册
	RegResult_TerminalRegsited
	//数据库中无该终端
	RegResult_TerminalNotInDB
)

//平台通用应答
type PlatformGeneralRespResult uint8

const (
	//成功或确认
	GR_SuccessOrConfirm PlatformGeneralRespResult = iota
	//失败
	GR_Fail
	//消息有误
	GR_MSG_ERROR
	//不支持
	GR_NOTSUPPORT
	//报警处理确认
	GR_ALARMCONFIRM
)
